home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 July
/
EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso
/
earcd
/
comm
/
ums
/
pint.lha
/
UMS
/
Rexx
/
MultiView.pint
< prev
next >
Wrap
Text File
|
1997-03-04
|
918b
|
50 lines
/*
$VER: MultiView.pint 1.0 (27.8.95)
Author:
Matthias Scheler <tron@lyssa.owl.de>
Updated for PINT (22.2.97):
Magnus Heino (nd95mho@Student.HGS.SE)
Function:
Shows the file attached to a message with MultiView.
History:
0.1 initial version
0.2 fixed header
1.0 released with IntuiNews 1.3
1.1 fixed problem with file or PubScreens names with spaces
Requires:
UMSServer 11.28 or newer
ums.library 11.18 or newer
Example for "ums.config":
( PINT.Rexx
...
"#?Message F2 MultiView.pint\n"
...
)
*/
/* Get TEMPORARY filename. */
OPTIONS RESULTS
GETTEMPFILENAME
IF RESULT="RESULT" THEN EXIT 5
TempFileName=RESULT
/* Get public screen name. */
'INFO SCREEN'
IF RESULT="RESULT" THEN EXIT 5
PubScreenName=RESULT
/* Call MultiView. */
SHELL COMMAND 'SYS:Utilities/MultiView "'||TempFileName||'" PUBSCREEN "'||PubScreenName||'"'